<div class="modal-header">
  <h4 class="modal-title">奖品信息</h4>
</div>
<div class="modal-body">
  <div class="container-fluid form-horizontal ">

<div class="col-xs-12 " >
  <div class="panel-body">
    <div class="container-fluid">
      
      <div class="col-xs-12 col-md-12" >

        <div class="form-group">
          <label class="col-xs-3 control-label">标题</label>
          <div class="col-xs-8">
            <input type="text" class="form-control" ng-model="info.title">
          </div>
        </div>

        <div class="form-group">
          <label class="col-xs-3 control-label">目的地</label>
          <div class="col-xs-8">
            <input type="text" class="form-control" placeholder=""
            ng-model="info.destination"
            >
          </div>
        </div>

        <div class="form-group">
          <label class="col-xs-3 control-label">会员价格</label>
          <div class="col-xs-3">
              <div class="input-group ">
                  <span class="input-group-addon">¥</span>
                  <input type="number" class="form-control" placeholder="会员价格" min='0'
                  ng-model="info.membership_price" value="0" >
              </div>
          </div>                    
        </div>

        <div class="form-group">
          <label class="col-xs-3 control-label">门市价格</label>
          <div class="col-xs-3">
              <div class="input-group ">
                  <span class="input-group-addon">¥</span>
                  <input type="number" class="form-control" placeholder="门市价格" min='0'
                  ng-model="info.rack_rate" value="0" >
              </div>
          </div>                    
        </div>

        <div class="form-group">
            <label class="col-xs-3 control-label">线上价格</label>
            <div class="col-xs-3">
                <div class="input-group ">
                    <span class="input-group-addon">¥</span>
                    <input type="number" class="form-control" placeholder="线上价格" min='0'
                    ng-model="info.online_price" value="0" >
                </div>
            </div>                    
        </div>

        <!-- <div class="form-group">
            <label class="col-xs-3 control-label">排序</label>
            <div class="col-xs-3">
                <div class="input-group ">
                    <input type="number" class="form-control" placeholder="排序"
                    ng-model="info.asort">
                </div>
            </div>                    
        </div> -->

        <div class="form-group">
            <label class="col-xs-3 control-label">封面图片</label>
            <div class="col-xs-4">
                <img ng-src="{{info.image}}" width="100%" height="200" ng-model="info.image">
                <input type="file" nv-file-select uploader="uploader" / ng-hide="hide===true" ><br/>
                <ul class="list-group">
                  <li class="list-group-item" ng-repeat="item in uploader.queue">
                    文件名: <span ng-bind="item.file.name"></span>
                    <button type="button" class="btn btn-default btn-xs"  ng-click="item.upload()"><span class="glyphicon glyphicon-upload"></span> 上传</button>
                    <div class="progress mt10">
                      <div class="progress-bar" role="progressbar" ng-style="{ 'width': uploader.progress + '%' }"></div>
                    </div>
                  </li>
                </ul>
            </div>                    
        </div>

        <div class="form-group">
            <label class="col-xs-3 control-label">内容</label>
            <div class="col-xs-8">
              <!-- <div text-angular ng-model="info.info"></div> -->
              <div class="ueditor" ng-model="info.content"></div>

            </div>
        </div>


        <div class="form-group">
          <label class="col-xs-3 control-label">可否预定</label>
          <div class="col-xs-1 mt10">
            <label class="i-switch bg-success" ng-init="obj.isSelected" style="margin-left:25%">
              <input type="checkbox" ng-model="obj.isSelected" ng-change="onChange(obj.isSelected, obj.id, obj.state)">
              <i></i>
            </label>
          <!-- <textarea rows="6" class="form-control" placeholder="购买须知" ng-model="info.buy_tips"></textarea> -->
          </div>
        </div>

      </div>


    </div>
  </div>
</div>
</div>
<div class="modal-footer">
  <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
  <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>


